/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.aal.business;

import com.aal.entity.Category;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author quy
 */
@Local
public interface CategoryManagementLocal {
    boolean createCategory(String categoryName,String categoryDescription);
    boolean deleteCategory(String categoryName);
    boolean editCategory(String categoryName,String categoryDescription );
    List<Category> searchCategory(String categoryName);    
    List<Category> viewAll();
    Category getCategory(int categoryId);
}
